package com.aounhui.productor.entity;

import com.aounhui.productor.enums.CommodityEnums;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author aounhui
 * @version 1.0
 * @date 2021/6/15 8:43
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public abstract class BaseProductor implements Serializable {
    protected String name;
    protected float price;
    protected Date createTime; //生产日期
    protected int expireDate; //有效期
    protected CommodityEnums type; //商品类型
    protected int maxNumber; //最大存量
    public void productor(){}
}
